<?php

	include '../config/config.php';
	include 'Zend/Db.php';  

	$db = Zend_Db::factory('Pdo_Mysql', $dbConfig);
	
	$mresult = $db->fetchAll("SELECT module_id, module_title FROM modules");
	echo '<table>';
	foreach ($mresult as $mrow) {
		echo '<tr>';
		echo '<td>id: '.$mrow['module_id'].'</td>';
		echo '<td>'.$mrow['module_title'].'</td>';
		echo '</tr>';
	}
	echo '</table>';
?>